package com.two.service.lei.conteoller;

import com.two.common.util.CommonResult;
import io.swagger.annotations.Api;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("lei")
@Api(tags = "类别的控制层")
public class LeiController {
    @Autowired

    //类别查询
    public CommonResult findall(){
        return new CommonResult(2000,"cc",null);
    }

}
